<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

	<bean name="UserBean" class="cn.ffcs.security.web.UserAction"
		scope="prototype">
		<property name="baseService">
			<ref bean="UserService" />
		</property>
		<property name="dictService">
			<ref bean="DictService" />
		</property>
	</bean>
	<bean name="RoleBean" class="cn.ffcs.security.web.RoleAction"
		scope="prototype">
		<property name="baseService">
			<ref bean="RoleService" />
		</property>
	</bean>
	<bean name="ResourceBean" class="cn.ffcs.security.web.ResourceAction"
		scope="prototype">
		<property name="baseService">
			<ref bean="ResourceService" />
		</property>
	</bean>
	<bean name="RoleRelaResourceBean" class="cn.ffcs.security.web.RoleRelaResourceAction"
		scope="prototype">
		<property name="baseService">
			<ref bean="RoleRelaResourceService" />
		</property>
		<property name="roleService">
			<ref bean="RoleService" />
		</property>
		<property name="resourceService">
			<ref bean="ResourceService" />
		</property>
	</bean>
	<bean name="RoleRelaUserBean" class="cn.ffcs.security.web.RoleRelaUserAction"
		scope="prototype">
		<property name="baseService">
			<ref bean="RoleRelaUserService" />
		</property>
		<property name="roleService">
			<ref bean="RoleService" />
		</property>
		<property name="userService">
			<ref bean="UserService" />
		</property>
	</bean>
	<bean name="LoginBean" class="cn.ffcs.security.web.LoginAction"
		scope="prototype">
		<property name="userService">
			<ref bean="UserService" />
		</property>
	</bean>
	<bean name="LogoutBean" class="cn.ffcs.security.web.LogoutAction"
		scope="prototype">
		<property name="userService">
			<ref bean="UserService" />
		</property>
	</bean>
	<bean name="UserResourceServiceBean" class="cn.ffcs.security.web.UserResourceAction"
		scope="prototype">
		<property name="baseService">
			<ref bean="UserResourceService" />
		</property>
	</bean>

</beans>